package com.xy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xy.pojo.User;
import org.springframework.stereotype.Repository;

//对应Mapper上面继承基本的类BaseMapper<指定类型>，就有了基本的CURD
@Repository//放入Spring容器中
public interface UserMapper extends BaseMapper<User> {
    //不需要写以前那么多配置了
}
